package cc.linker.steplink.crm.merchant.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AuthDao {

    Map<String, Object> getInfo(String orgId);

    void insert(Map<String, Object> map);

    void update(Map<String, Object> map);

    List<Map<String,Object>> getSalerList(@Param("account") String account, @Param("orgId") String orgId);

    Integer getSalerCount(@Param("userId") String userId);

    String getOrgIdByUserId(@Param("userId") String userId);

    Integer getIsOpen(Map map);

    List<Map<String, Object>> getApplicationList();

    void addApplication(Map<String, Object> app6);

    Map<String, Object> getApplicationInfo(String id);

    void saveApplication(Map<String, Object> map);

    Map<String, Object> getApplicationInfoByAlias(@Param("applicationAlias") String applicationAlias);

    Integer getPayModeByOrgId(@Param("orgId") String orgId);
}
